
<?php
/*
 * @Descripttion:  validator 中的rule参数
 * @version: v1
 * @Author: Terriv
 * @Date: 2021-02-05 23:25:16
 * @LastEditors: Terry
 * @LastEditTime: 2024-10-09 16:50:42
 */
return [
    'video'=>[
        'geturl'=>[
            'projectCode|項目編號'=>'require',
            'number|設備序列碼'=>'require',
            'quality|清晰度'=>'in:1,2',
            'type|地址的类型'=>'in:1,2,3',
            'protocol|播放流協議'=>'require|in:1,2,3,4',
        ],
        'getlist'=>[
            'projectCode|項目編號'=>'require',
        ],
    ],
    'facemachine'=>[
        'getworkerlist'=>[
            'mac|设备码'=>'require',
            'corpCode|企业统一码'=>'require',
            'limit|每次拉去信息条数'=>'between:1,20',
            'page|页数'=>'number|>:1',
        ],
        'uploadattendance'=>[
            'mac|设备码'=>'require',
            'corpCode|企业统一码'=>'require',
            'workerName|人员姓名'=>'require',
            'workerUuid|人员唯一码'=>'require',
            'imageURL|考勤图片'=>'require',
            'date|考勤时间'=>'require|date',
        ],
        'uploadworker'=>[
            'mac|设备码'=>'require',
            'corpCode|企业统一码'=>'require',
        ],
    ],
    'dust'=>[
        'upload'=>[
            'pm25'=>"require",
            'windDirect'=>"reuire",
            'pm10'=>"require",
            'tsp'=>"require",
            'noise'=>"require",
            'windSpeed'=>"require",
            'temp'=>"require",
            'humid'=>"require",
            'atoms'=>"require",
            'code'=>"require",
        ],
        'defaultupload'=>[
            'code|设备编码'=>"require",
            'windDirect|风向'=>"require",
            'pm25'=>"require",
            'pm10'=>"require",
            'tsp'=>"require",
            'noise|噪音'=>"require",
            'windSpeed|风速'=>"require",
            'temp|温度'=>"require",
            'humid|湿度'=>"require",
        ]
    ],
    'water'=>[
        'upload'=>[
            'usingCount'=>"require",
            'code'=>"require",
        ],
    ],
    'towercranetwo'=>[
        'upload'=>[
            'localetime'=>"require",
            'devsn'=>"require",
            'scope'=>"require",
            'hi'=>"require",
            'rot'=>"require",
            'frake'=>"require",
            'ws'=>"require",
            'mom'=>"require",
            'momper'=>"require",
            'wei'=>"require",
        ],
    ],
];
